* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
    background: #fff;
}

.main-container {
    display: flex;
    min-height: 100vh;
}

.left-section {
    flex: 1;
    background: url('../file/img/login-bg.png') center center no-repeat;
    background-size: contain;
    min-height: 100vh;
    position: relative;
}

.left-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 249, 250, 0.1);
}

.right-section {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: white;
    position: relative;
    min-height: 100vh;
}

.login-header {
    text-align: center;
    font-weight: bold;
    margin-bottom: 40px;
    width: 100%;
    font-size: 50px;
    color: #2e7d32;
}


.login-container,
.register-container {
    width: 100%;
    max-width: 400px;
    padding: 0 20px;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}

.form-group input:focus {
    border-color: #2e7d32;
    outline: none;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.forget-pwd {
    position: absolute;
    right: 0;
    top: 12px;
    color: #2e7d32;
    font-size: 14px;
    text-decoration: none;
}

.btn {
    width: 100%;
    /* padding: 12px; */
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    background: #2e7d32;
    color: white;
}

.btn:hover {
    background: #1b5e20;
}
.article-publish .btn {
    width: 100px;
    /* text-align: right; */
}
.other-login,
.divider,
.divider::before,
.divider::after,
.divider span,
.login-options,
.wechat-login,
.qq-login {
    display: none;
}

.register-link,
.login-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.register-link a,
.login-link a {
    color: #2e7d32;
    text-decoration: none;
    margin-left: 5px;
}

.footer {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: #666;
    font-size: 12px;
}

.footer p {
    margin: 5px 0;
}

.error-message {
    color: #ff4444;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 35px;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    outline: none;
}

.toggle-password::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: 
        radial-gradient(circle at center, #666 30%, transparent 30%),
        radial-gradient(circle at center, #fff 35%, transparent 35%);
    border: 2px solid #666;
    border-radius: 50%;
}

.toggle-password::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 2px;
    background-color: #666;
    transform: translate(-50%, -50%) rotate(45deg);
    opacity: 0;
}

.toggle-password.show::before {
    background: #2e7d32;
    border-color: #2e7d32;
}

.toggle-password.show::after {
    opacity: 1;
    background-color: #2e7d32;
}


.type-select {
    margin: 20px 0;
    display: flex;
    /* justify-content: s; */
    align-items: center;
}
.type-select select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background-color: white;
    cursor: pointer;
    outline: none;
    min-width: 200px;
}
.type-select select:hover {
    border-color: #999;
}